<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加名片</title>
</head>
<body>
<h1>添加名片</h1>
<form th:action="@{/card/addCard}" method="POST">
    <label for="name">姓名:</label><input type="text" id="name" name="name" required><br>
    <label for="telephone">电话:</label><input type="text" id="telephone" name="telephone" required><br>
    <label for="email">邮箱:</label><input type="text" id="email" name="email" required><br>
    <label for="company">单位:</label><input type="text" id="company" name="company" required><br>
    <label for="post">职务:</label><input type="text" id="post" name="post" required><br>
    <label for="address">地址:</label><input type="text" id="address" name="address" required><br>
    <label for="logoName">Logo:</label><input type="text" id="logoName" name="logoName"><br>
    <button type="submit">添加</button>
</form>
<a th:href="@{/card/main}">返回</a>
</body>
</html>
